package com.greateamd.timetableasy.client.mvc.view.crud.planning;

import java.util.Date;

import com.google.gwt.user.client.ui.Widget;
import com.greateamd.timetableasy.client.mvc.model.PlanningModel;
import com.greateamd.timetableasy.client.mvc.view.IPage;

public abstract class IPlanningPage <M extends PlanningModel> extends IPage<M>{
	
	/**
	 * Call the server to retrieve from db, depending of context and date fork
	 */
	protected abstract void callServerEvent();
	
	protected abstract Date getFromDate();
	protected abstract Date getToDate();

	protected abstract void setExtraPanel(Widget widget);
}
